package com.amap.demo.view;

import com.amap.api.maps.model.LatLng;

import jacksen.cluster.ClusterInter;

/**
 * Created by jacksen on 2015/12/4.
 */
public class ClusterItem implements ClusterInter {

    /**
     *
     */
    private String title;

    /**
     *
     */
    private LatLng latLng;

    /**
     * @param title
     * @param latLng
     */
    public ClusterItem(String title, LatLng latLng) {
        this.title = title;
        this.latLng = latLng;
    }

    @Override
    public LatLng getPosition() {
        return latLng;
    }

    @Override
    public String getTitle() {
        return title;
    }
}
